7dcb16ea7a6c818c802a28197a6545c163d571be,library/src/test/java/com/squareup/timessquare/CalendarPickerViewTest.java,CalendarPickerViewTest,testNullInitArguments,#,244

Before Change


    try {
      view.init(validDate, null, locale) //
          .inMode(SINGLE) //
          .withSelectedDate(validDate);
      fail("Should not have been able to pass in a null maxDate");
    } catch (IllegalArgumentException expected) {
    }

After Change


    try {
      view.init(null, validDate, timeZone, locale) //
          .inMode(SINGLE) //
          .withSelectedDate(validDate);
      fail("Should not have been able to pass in a null minDate");
    } catch (IllegalArgumentException expected) {
    }